package com.saunter.model;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.sql.Date;

public class User {
    private String idNum;
    @JsonIgnore
    private String passwd;

    private String name;

    private Date birthdate;

    private Integer sex;

    private Integer jobId;

    private String phone;

    private String email;

    private Integer status;

    private Date createTime;

    private String remark;

    public User(String idNum, String passwd, String name, Date birthdate, Integer sex, Integer jobId, String phone, String email, Integer status, Date createTime, String remark) {
        this.idNum = idNum;
        this.passwd = passwd;
        this.name = name;
        this.birthdate = birthdate;
        this.sex = sex;
        this.jobId = jobId;
        this.phone = phone;
        this.email = email;
        this.status = status;
        this.createTime = createTime;
        this.remark = remark;
    }

    public User() {
        super();
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(Date birthdate) {
        this.birthdate = birthdate;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}